[INFO] cloning repository https://github.com/bzhoek/rust2srs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bzhoek/rust2srs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbzhoek%2Frust2srs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbzhoek%2Frust2srs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 802a6125a46bb2fdf1ed33a84dbd3daa59654daf
[INFO] checking bzhoek/rust2srs against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbzhoek%2Frust2srs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bzhoek/rust2srs
[INFO] finished tweaking git repo https://github.com/bzhoek/rust2srs
[INFO] tweaked toml for git repo https://github.com/bzhoek/rust2srs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bzhoek/rust2srs on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bzhoek/rust2srs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded shlex v1.2.0
[INFO] [stderr]   Downloaded ffmpeg-sys-next v7.0.0
[INFO] [stderr]   Downloaded anstyle-parse v0.2.1
[INFO] [stderr]   Downloaded rmp3 v0.3.1
[INFO] [stderr]   Downloaded jpeg-encoder v0.5.1
[INFO] [stderr]   Downloaded clang-sys v1.6.1
[INFO] [stderr]   Downloaded ffmpeg-next v7.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2fa66a130c2fa007b9bc217fbb2d2722cfce1379defc869f7ed4f78401f7ed84
[INFO] running `Command { std: "docker" "start" "-a" "2fa66a130c2fa007b9bc217fbb2d2722cfce1379defc869f7ed4f78401f7ed84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2fa66a130c2fa007b9bc217fbb2d2722cfce1379defc869f7ed4f78401f7ed84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fa66a130c2fa007b9bc217fbb2d2722cfce1379defc869f7ed4f78401f7ed84", kill_on_drop: false }`
[INFO] [stdout] 2fa66a130c2fa007b9bc217fbb2d2722cfce1379defc869f7ed4f78401f7ed84
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6937d06fce2e1821a1dc3c01dbb333beb8607fc7d2052f192f090ed3aab2eff
[INFO] running `Command { std: "docker" "start" "-a" "f6937d06fce2e1821a1dc3c01dbb333beb8607fc7d2052f192f090ed3aab2eff", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling bindgen v0.69.4
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling clang-sys v1.6.1
[INFO] [stderr]    Compiling shlex v1.2.0
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]    Compiling syn v2.0.31
[INFO] [stderr]     Checking anstyle-parse v0.2.1
[INFO] [stderr]     Checking aho-corasick v1.0.5
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.0
[INFO] [stderr]     Checking anstyle v1.0.7
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]     Checking anstyle-query v1.0.0
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling rmp3 v0.3.1
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling ffmpeg-next v7.0.2
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]     Checking clap_builder v4.5.2
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking jpeg-encoder v0.5.1
[INFO] [stderr]     Checking assert_matches v1.5.0
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling clap_derive v4.5.4
[INFO] [stderr]     Checking pest v2.7.10
[INFO] [stderr]     Checking clap v4.5.4
[INFO] [stderr]    Compiling pest_meta v2.7.10
[INFO] [stderr]    Compiling pest_generator v2.7.10
[INFO] [stderr]    Compiling pest_derive v2.7.10
[INFO] [stderr]    Compiling ffmpeg-sys-next v7.0.0
[INFO] [stderr]     Checking rust2srs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/assa.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let primary = offset_subtitle_file("tests/ichigo-01_jp.ass").unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^-------------------------- argument #2 of type `&Option<f32>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let primary = offset_subtitle_file("tests/ichigo-01_jp.ass", /* &Option<f32> */).unwrap();
[INFO] [stdout]     |                                                                ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/assa.rs:117:21
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let secondary = offset_subtitle_file("tests/ichigo-01_en.ass").unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^-------------------------- argument #2 of type `&Option<f32>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let secondary = offset_subtitle_file("tests/ichigo-01_en.ass", /* &Option<f32> */).unwrap();
[INFO] [stdout]     |                                                                  ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/assa.rs:129:19
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let primary = offset_subtitle_file("tests/ichigo-01_jp.ass").unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^-------------------------- argument #2 of type `&Option<f32>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let primary = offset_subtitle_file("tests/ichigo-01_jp.ass", /* &Option<f32> */).unwrap();
[INFO] [stdout]     |                                                                ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/assa.rs:131:21
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let secondary = offset_subtitle_file("tests/ichigo-01_en.ass").unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^-------------------------- argument #2 of type `&Option<f32>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let secondary = offset_subtitle_file("tests/ichigo-01_en.ass", /* &Option<f32> */).unwrap();
[INFO] [stdout]     |                                                                  ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/assa.rs:141:19
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let primary = offset_subtitle_file("tests/ichigo-01_jp.ass").unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^-------------------------- argument #2 of type `&Option<f32>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let primary = offset_subtitle_file("tests/ichigo-01_jp.ass", /* &Option<f32> */).unwrap();
[INFO] [stdout]     |                                                                ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/assa.rs:142:21
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let secondary = offset_subtitle_file("tests/ichigo-01_en.ass").unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^-------------------------- argument #2 of type `&Option<f32>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let secondary = offset_subtitle_file("tests/ichigo-01_en.ass", /* &Option<f32> */).unwrap();
[INFO] [stdout]     |                                                                  ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mp3.rs:116:68
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let subtitles = offset_subtitle_file("tests/ichigo-01_jp.ass", None).unwrap();
[INFO] [stdout]     |                     --------------------                           ^^^^ expected `&Option<f32>`, found `Option<_>`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Option<f32>`
[INFO] [stdout]                     found enum `Option<_>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let subtitles = offset_subtitle_file("tests/ichigo-01_jp.ass", &None).unwrap();
[INFO] [stdout]     |                                                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mp3.rs:122:65
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let subtitles = offset_subtitle_file("tests/totoro.ja.srt", None).unwrap();
[INFO] [stdout]     |                     --------------------                        ^^^^ expected `&Option<f32>`, found `Option<_>`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Option<f32>`
[INFO] [stdout]                     found enum `Option<_>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let subtitles = offset_subtitle_file("tests/totoro.ja.srt", &None).unwrap();
[INFO] [stdout]     |                                                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mp3.rs:137:69
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let mut subtitles = offset_subtitle_file("tests/totoro.ja.srt", None).unwrap();
[INFO] [stdout]     |                         --------------------                        ^^^^ expected `&Option<f32>`, found `Option<_>`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Option<f32>`
[INFO] [stdout]                     found enum `Option<_>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let mut subtitles = offset_subtitle_file("tests/totoro.ja.srt", &None).unwrap();
[INFO] [stdout]     |                                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/assa.rs:11:29
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn parse_assa(contents: &str) -> Option<Pair<Rule>> {
[INFO] [stdout]    |                             ^^^^            ---------- the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn parse_assa(contents: &str) -> Option<Pair<'_, Rule>> {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/subrip.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn parse_subrip(contents: &str) -> Option<Pair<Rule>> {
[INFO] [stdout]    |                           ^^^^            ---------- the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn parse_subrip(contents: &str) -> Option<Pair<'_, Rule>> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/webvtt.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn parse_webvtt(contents: &str) -> Option<Pair<Rule>> {
[INFO] [stdout]    |                           ^^^^            ---------- the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn parse_webvtt(contents: &str) -> Option<Pair<'_, Rule>> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/webvtt.rs:95:19
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let primary = offset_subtitle_file("tests/totoro.ja.vtt").unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^----------------------- argument #2 of type `&Option<f32>` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lib.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let primary = offset_subtitle_file("tests/totoro.ja.vtt", /* &Option<f32> */).unwrap();
[INFO] [stdout]    |                                                             ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/webvtt.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let secondary = offset_subtitle_file("tests/totoro.en.vtt").unwrap();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^----------------------- argument #2 of type `&Option<f32>` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lib.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let secondary = offset_subtitle_file("tests/totoro.en.vtt", /* &Option<f32> */).unwrap();
[INFO] [stdout]    |                                                               ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/webvtt.rs:107:19
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let primary = offset_subtitle_file("tests/totoro.ja.vtt").unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^----------------------- argument #2 of type `&Option<f32>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let primary = offset_subtitle_file("tests/totoro.ja.vtt", /* &Option<f32> */).unwrap();
[INFO] [stdout]     |                                                             ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/webvtt.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let secondary = offset_subtitle_file("tests/totoro.en.vtt").unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^----------------------- argument #2 of type `&Option<f32>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let secondary = offset_subtitle_file("tests/totoro.en.vtt", /* &Option<f32> */).unwrap();
[INFO] [stdout]     |                                                               ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ffmpeg.rs:130:68
[INFO] [stdout]     |
[INFO] [stdout] 130 |     let mut dialogue = offset_subtitle_file("tests/totoro.ja.srt", None).unwrap();
[INFO] [stdout]     |                        --------------------                        ^^^^ expected `&Option<f32>`, found `Option<_>`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Option<f32>`
[INFO] [stdout]                     found enum `Option<_>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 130 |     let mut dialogue = offset_subtitle_file("tests/totoro.ja.srt", &None).unwrap();
[INFO] [stdout]     |                                                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ffmpeg.rs:138:64
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let dialogue = offset_subtitle_file("tests/totoro.ja.srt", None).unwrap();
[INFO] [stdout]     |                    --------------------                        ^^^^ expected `&Option<f32>`, found `Option<_>`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Option<f32>`
[INFO] [stdout]                     found enum `Option<_>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub fn offset_subtitle_file(path: &str, offset: &Option<f32>) -> Option<Vec<Dialogue>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^             --------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let dialogue = offset_subtitle_file("tests/totoro.ja.srt", &None).unwrap();
[INFO] [stdout]     |                                                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust2srs` (lib test) due to 15 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "f6937d06fce2e1821a1dc3c01dbb333beb8607fc7d2052f192f090ed3aab2eff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6937d06fce2e1821a1dc3c01dbb333beb8607fc7d2052f192f090ed3aab2eff", kill_on_drop: false }`
[INFO] [stdout] f6937d06fce2e1821a1dc3c01dbb333beb8607fc7d2052f192f090ed3aab2eff
